Carbon


MPDataToCode

Header: Multiprocessing.h Carbon status: Supported

Designates the specified block of memory as executable code.

void MPDataToCode (
    LogicalAddress address, 
    ByteCount size
);
address

The starting address of the memory block you want to designate as code.

size

The size of the memory block.

DISCUSSION

Since PowerPC processors need to differentiate between code and data in memory, you should call this function to tag any executable code that your tasks may generate.

VERSION NOTES

Introduced with Multiprocessing Services 2.0.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when MPLibrary 2.0 or later is installed. Exported by CarbonLib 1.0 and later and by MPLibrary 2.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)